.doctor-detail-container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.doctor-detail-loading,
.doctor-detail-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 16px;
}

.doctor-detail-container .doctor-detail-navbar {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

/* 吸顶导航 */
.doctor-detail-container .sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  padding: 12px 16px;
}

.doctor-detail-container .sticky-nav.sticky {
  transform: translateY(0);
}

.doctor-detail-container .sticky-nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.doctor-detail-container .sticky-doctor-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.doctor-detail-container .sticky-doctor-details {
  flex: 1;
  min-width: 0;
}

.doctor-detail-container .sticky-doctor-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doctor-detail-container .sticky-doctor-title {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doctor-detail-container .sticky-doctor-info img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  background-color: #f8f9fa;
  object-fit: cover;
}

/* 医生基本信息 */
.doctor-basic-info {
  background-color: #fff;
  padding: 16px;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #f0f0f0;
}

.doctor-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.doctor-avatar {
  flex-shrink: 0;
  position: relative;
}

.doctor-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-color: #f8f9fa;
  object-fit: cover;
}

.doctor-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}

.doctor-name-box {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.2;
}

.doctor-title {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-weight: 500;
  margin-bottom: 4px;
}

.doctor-hospital {
  font-size: 13px;
  color: #666;
  margin: 0;
  margin-bottom: 8px;
}

.doctor-specialty {
  font-size: 11px;
  color: #8c8c8c;
  margin: 0;
  margin-bottom: 6px;
  line-height: 1.3;
}

.doctor-experience {
  font-size: 12px;
  color: #8c8c8c;
  margin: 0;
  margin-bottom: 8px;
  line-height: 1.4;
}

.doctor-stats {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.praise-rate {
  font-size: 12px;
  color: #52c41a;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #f6ffed;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #b7eb8f;
  white-space: nowrap;
}

.praise-rate::before {
  content: '⭐';
  font-size: 11px;
}

.service-count {
  font-size: 12px;
  color: #1890ff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #f0f9ff;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #91d5ff;
  white-space: nowrap;
}

.service-count::before {
  content: '👥';
  font-size: 11px;
}

.doctor-actions {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.doctor-actions .adm-button {
  border-radius: 8px;
  font-weight: 600;
  height: 36px;
  padding: 0 20px;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.doctor-price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 12px;
}

.price-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.price-value {
  font-size: 16px;
  font-weight: 600;
  color: #ff4d4f;
  margin-left: 8px;
}

.consultation-btn {
  margin-left: auto;
}

.consultation-btn .adm-button {
  background: linear-gradient(135deg, #1890ff, #096dd9);
  border: none;
  color: white;
  font-weight: 600;
  height: 40px;
  padding: 0 24px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
  transition: all 0.3s ease;
}

.consultation-btn .adm-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24, 144, 255, 0.4);
}

/* 信息区块 */
.info-section {
  background-color: #fff;
  margin-bottom: 12px;
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '📋';
  font-size: 16px;
}

.section-content {
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

/* 医生公告 */
.notice-bar {
  background: linear-gradient(135deg, #fff7e6, #fff2d9);
  border: 1px solid #ffd591;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.notice-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffa940, #ff7a45);
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #d46b08;
  margin-bottom: 10px;
}

.notice-left::before {
  content: '📢';
  font-size: 16px;
}

.notice-right {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}

.notice-right::before {
  content: '💡';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 12px;
}

/* 评价统计 */
.comment-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1890ff, #52c41a);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #1890ff;
}

.stat-item:nth-child(2)::before {
  background: linear-gradient(90deg, #52c41a, #73d13d);
}

.stat-item:nth-child(3)::before {
  background: linear-gradient(90deg, #ff4d4f, #ff7875);
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #333;
  line-height: 1;
}

.stat-number.positive {
  color: #52c41a;
  text-shadow: 0 2px 4px rgba(82, 196, 26, 0.2);
}

.stat-number.negative {
  color: #ff4d4f;
  text-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  text-align: center;
}

/* 排班信息 */
.schedule-section {
  background-color: #fff;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.schedule-header {
  background: linear-gradient(135deg, #1890ff, #096dd9);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schedule-title {
  font-size: 16px;
  font-weight: 700;
}

.schedule-fee {
  font-size: 14px;
  font-weight: 500;
}

.schedule-fee .fee {
  font-size: 18px;
  font-weight: 700;
  color: #ffd591;
}

.schedule-list {
  padding: 0;
}

.schedule-row {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
}

.schedule-row:hover {
  background-color: #f8f9fa;
}

.schedule-row:last-child {
  border-bottom: none;
}

.sched-date {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  min-width: 80px;
}

.sched-week {
  font-size: 13px;
  color: #666;
  min-width: 50px;
}

.sched-time {
  font-size: 13px;
  color: #666;
  min-width: 50px;
}

.sched-remain {
  font-size: 13px;
  font-weight: 600;
  min-width: 60px;
}

.sched-remain.full {
  color: #ff4d4f;
}

.sched-tag {
  font-size: 11px;
  color: #999;
  min-width: 50px;
}

.sched-book {
  background-color: #1890ff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: auto;
}

.sched-book:hover {
  background-color: #096dd9;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

/* 礼物展示 */
.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.gift-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.gift-item:hover {
  border-color: #1890ff;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
  transform: translateY(-2px);
}

.gift-image {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.gift-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gift-info {
  text-align: center;
  width: 100%;
}

.gift-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-worth,
.gift-count {
  font-size: 11px;
  color: #666;
  margin-bottom: 3px;
}

.gift-meaning {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
  line-height: 1.4;
}

/* 推荐医生 */
.recommended-doctors {
  background-color: #fff;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.recommended-doctors .section-title::before {
  content: '👥';
}

.recommended-doctors-list {
  padding: 20px;
}

.recommended-doctor-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.recommended-doctor-item:hover {
  border-color: #1890ff;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
  transform: translateY(-2px);
}

.recommended-doctor-item:last-child {
  margin-bottom: 0;
}

.recommended-doctor-avatar {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f0f0f0;
  flex-shrink: 0;
}

.recommended-doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommended-doctor-info {
  flex: 1;
  min-width: 0;
}

.recommended-doctor-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.recommended-doctor-title {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.recommended-doctor-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #999;
}

/* 推荐医生网格布局 */
.recommend-section {
  background-color: #fff;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.recommend-section .section-title::before {
  content: '👥';
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px;
}

.rec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  background-color: #fafafa;
  transition: all 0.3s ease;
  cursor: pointer;
}

.rec-card:hover {
  border-color: #1890ff;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
  transform: translateY(-2px);
  background-color: #fff;
}

.rec-avatar {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-bottom: 12px;
  background-color: #f0f0f0;
  object-fit: cover;
  border: 2px solid #f0f0f0;
}

.rec-info {
  text-align: center;
  width: 100%;
}

.rec-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.rec-title {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  margin-bottom: 6px;
}

.rec-stats {
  font-size: 12px;
  color: #52c41a;
  font-weight: 600;
  background-color: #f6ffed;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #b7eb8f;
}

/* 评论列表 */
.comment-list {
  --border-top: none;
  --border-bottom: none;
}

.comment-item {
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
}

.comment-item:hover {
  background-color: #f8f9fa;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.comment-header img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  background-color: #f8f9fa;
  object-fit: cover;
}

.comment-info {
  flex: 1;
}

.comment-author {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.comment-time {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.comment-time::before {
  content: '🕒';
  font-size: 10px;
}

.comment-content {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  background-color: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  border-left: 3px solid #1890ff;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .doctor-basic-info {
    padding: 20px 16px;
  }
  
  .doctor-header {
    gap: 16px;
  }
  
  .doctor-avatar img {
    width: 70px;
    height: 70px;
  }
  
  .doctor-name {
    font-size: 20px;
  }
  
  .doctor-stats {
    gap: 16px;
  }
  
  .praise-rate,
  .service-count {
    font-size: 12px;
    padding: 5px 8px;
  }
  
  .info-section {
    padding: 20px 16px;
  }
  
  .schedule-header {
    padding: 16px;
  }
  
  .schedule-row {
    padding: 12px 16px;
  }
  
  .sched-date {
    min-width: 70px;
    font-size: 13px;
  }
  
  .sched-week,
  .sched-time {
    min-width: 45px;
    font-size: 12px;
  }
  
  .sched-remain {
    min-width: 55px;
    font-size: 12px;
  }
  
  .sched-tag {
    min-width: 45px;
    font-size: 10px;
  }
  
  .sched-book {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  /* 推荐医生响应式 */
  .recommend-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  
  .rec-card {
    padding: 16px 12px;
  }
  
  .rec-avatar {
    width: 50px;
    height: 50px;
  }
  
  .rec-name {
    font-size: 15px;
  }
  
  .rec-title {
    font-size: 12px;
  }
  
  .rec-stats {
    font-size: 11px;
    padding: 3px 6px;
  }
  
  /* 评价统计响应式 */
  .comment-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 0;
  }
  
  .stat-item {
    padding: 16px 12px;
    gap: 8px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .stat-label {
    font-size: 12px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.doctor-basic-info,
.info-section,
.schedule-section,
.recommended-doctors {
  animation: fadeInUp 0.6s ease-out;
}

.doctor-basic-info {
  animation-delay: 0.1s;
}

.info-section {
  animation-delay: 0.2s;
}

.schedule-section {
  animation-delay: 0.3s;
}

.recommended-doctors {
  animation-delay: 0.4s;
}


